<!--main content-->

<!--<h3 class="alt">
    <span>Powerful</span> combination of technology and <span>comprehensive</span>, <span>preintegrated</span> business applications including <span>key functionality built</span> specifically for engineering and construction <span>enterprises</span>.
</h3>-->

<div class="wrapper">
<h3><?php echo __('home_search_for').' '.$keyword;?></h3>
<?php if(!empty($tickets)):?>
    <?php foreach ($tickets as $index => $ticket): ?>
    <div class="col-1 tickethumb" title="<?php echo $ticket->description; ?>">
            
            <p><a href="<?php echo url('ticket/detail/'.$ticket->id);?>">
                <?php if ($ticket->img_id != NULL && $ticket->img_id > 0): ?>
                <img class="images" src="<?php echo base_url();?>assets/scripts/timthumb.php?h=140&w=140&z=1&src=<?php echo site_url('uploads/images/ticket/'.$image[$ticket->img_id]);?>" alt="<?php echo $ticket->ticket_name; ?>" />
                <?php else: ?>
                    <img class="images"  src="<?php echo base_url();?>assets/images/no_img.png"/>
    <?php endif; ?></a>
            </p>
            

            <h5 class="title_ticket"><a href="<?php echo url('ticket/detail/'.$ticket->id);?>"><?php echo $ticket->ticket_name; ?></a></h5>
            <p><span class="txt1"><?php echo __('price') . ': ' . $ticket->price; ?></span></p>
            <p>
                <a href="#" id="<?php echo $ticket->id; ?>" class="txt1" rel="addToCart"><?php echo __('add_to_cart');?></a>
                <img src="<?php echo base_url();?>assets/images/add_to_cart.png" title="<?php echo __('add_to_cart');?>"/>
            </p>
        </div>

<?php endforeach; ?>


</div>

<div style="clear: both;">&nbsp;</div>

<!--pagination-->
<div id="pagination"><?php echo isset($pagination) ? $pagination : NULL; ?></div>
<?php else:?>
<h3 class="alt"><?php echo __('home_search_dont_have_data').' '.$keyword;?></h3></div> 
<?php endif;?>
<!--/pagination-->

<!--/main content--> 